package dk.sdu.amaze;

import java.awt.Graphics;

import javax.swing.JComponent;

import TUIO.TuioListener;
import TUIO.TuioObject;
import TUIO.TuioTime;

public abstract class State extends JComponent implements TuioListener{

	protected Amaze ctx;
	protected Stored_sounds sd;

	public State(Amaze context) {
		this.sd = new Stored_sounds();
		this.ctx = context;
	}

	public abstract void paint(Graphics g);

	@Override
	public void addTuioObject(TuioObject tobj) {
	}

	@Override
	public void removeTuioObject(TuioObject tobj) {
	}

	@Override
	public void updateTuioObject(TuioObject tobj) {
	}

	@Override
	public void refresh(TuioTime ftime) {
		repaint();
	}
}
